package com.woc.boot.srv.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * 站点管理表
 *
 * @author woc
 * @since 2024-01-26
 */
public class WocSite implements Serializable {

    private static final long serialVersionUID = 1L;

	@TableId(value="sid", type= IdType.AUTO)
	private Integer sid;
	@NotBlank(message = "网站名称不能为空")
	@Size(max = 64, message = "网站名称不能大于64个字符")
	private String name;
	private String admin;
	private String username;
	private String password;
	private String method;
	private Integer status;
	private Integer tid;
	private Integer dmid;
	private Integer hid;
	private Integer dbid;
	private Integer eid;


	public Integer getSid() {
		return sid;
	}

	public void setSid(Integer sid) {
		this.sid = sid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAdmin() {
		return admin;
	}

	public void setAdmin(String admin) {
		this.admin = admin;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getTid() {
		return tid;
	}

	public void setTid(Integer tid) {
		this.tid = tid;
	}

	public Integer getDmid() {
		return dmid;
	}

	public void setDmid(Integer dmid) {
		this.dmid = dmid;
	}

	public Integer getHid() {
		return hid;
	}

	public void setHid(Integer hid) {
		this.hid = hid;
	}

	public Integer getDbid() {
		return dbid;
	}

	public void setDbid(Integer dbid) {
		this.dbid = dbid;
	}

	public Integer getEid() {
		return eid;
	}

	public void setEid(Integer eid) {
		this.eid = eid;
	}

	
}
